package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

/**
 * @Title: IPersistence_test
 * @Description:
 * @Author: Wenfeng Cheng
 * @Date: 2020-11-28 17:33
 * @Version: 1.0.0
 */
public interface IUserDao {

    //查询所有
    public List<User> findAll();

    //根据条件查询一条
    public User findByCondition(User user);

    //增加
    public int insert(User user);

    //修改
    public int updateById(User user);

    //删除
    public int deleteById(User user);
}
